package com.lxd.milktea.dao;

import com.lxd.milktea.dataobject.Material;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;

/**
 * @ProjectName: milktea
 * @Package: com.lxd.milktea.dao
 * @ClassName: MaterialRepository
 * @Author: carrymaniac
 * @Description:
 * @Date: 2020/5/3 10:27 上午
 * @Version:
 */
@Repository
public interface MaterialRepository extends JpaRepository<Material, String> {
    /**
     *
     * @param Material
     * @return
     */
    ArrayList<Material> findAllByIdIn(List<String> Material);

}
